﻿// Polygon.as 该类为圆环类,用于圆环的图案创作
//vesion 1.0
//author 夏天的树人
package org.summerTree.graphics
{
	public class Cirque extends Base 
	{

		public function Cirque()
		{

		}
		override public function clone():*
		{
			return new Cirque();
		}
		/*long_radius 外环长轴半径
		 *short_radius 内环短轴半径
		 *fillColor 填充颜色
		 *alpha 透明度填充透明度
		 */
		public function CreatCirque(long_radius:Number,short_radius:Number,fillColor:uint=0xffffff,alpha:Number=1):void
		{
			this.graphics.lineStyle(1,color);
			this.graphics.beginFill(fillColor,alpha);
			this.graphics.drawCircle(0,0,long_radius);
			this.graphics.drawCircle(0,0,short_radius);
			this.graphics.endFill();
		}
		//清除图像
		//public function clear():void
//		{
//			this.graphics.clear();
//		}

	}

}